package kr.co.bettersoftportal.site.management.dao;

import kr.co.bettersoftportal.site.domain.MusicBoard;

import java.util.List;


public interface MusicBoardDao {
	public abstract List getBoardListBySearchword(MusicBoard board);
    public abstract List getBoardListByNo(MusicBoard board);
    public abstract String getTotalCountBySearchword(MusicBoard board);
    public abstract String getTotalCountByNo(MusicBoard board);
    public abstract String writeBoard(MusicBoard board);
    public abstract String updateBoard(MusicBoard board);
    public abstract String deleteBoard(MusicBoard board);
    public abstract MusicBoard getBoardByNo(String music_board_no);

    public abstract String updateReplyCount(MusicBoard board);
    public abstract String updateHitCount(MusicBoard board);
    public abstract String updateVoteCount(MusicBoard board);
    public abstract String updateNegativeCount(MusicBoard board);
    public abstract String updateReportCount(MusicBoard board);

//    public abstract String checkDuplicateVote(Vote vote);
//    public abstract String insertVoterToList(Vote vote);
//
//    public abstract String communityBoardReport(Report report);
//    public abstract String checkDuplicateReport(Report report);

    public abstract String updateBoardNotImage(MusicBoard board);
}
